Function Assistant: A Tool for NL Querying of APIs
نویسندگان
چکیده
In this paper, we describe Function Assistant, a lightweight Python-based toolkit for querying and exploring source code repositories using natural language. The toolkit is designed to help end-users of a target API quickly find information about functions through high-level natural language queries and descriptions. For a given text query and background API, the tool finds candidate functions by performing a translation from the text to known representations in the API using the semantic parsing approach of Richardson and Kuhn (2017). Translations are automatically learned from example textcode pairs in example APIs. The toolkit includes features for building translation pipelines and query engines for arbitrary source code projects. To explore this last feature, we perform new experiments on 27 well-known Python projects hosted on Github.
منابع مشابه
Variations in EFL Teachers’ Pedagogical Knowledge Base as a Function of Their Teaching License Status
The study of teachers’ pedagogical knowledge base (PKB) to discover how teachers think and work is attracting increasing attention in ELT. Against this background, the present study aimed at probing the likely variations in EFL teachers’ pedagogical knowledge base as a function of their teaching license status. To this aim, six teachers (two standard-licensed, two alternatively-licensed, and tw...
متن کاملAn Environmental Information Search Assistant based on the Google Web APIs Service
The World Wide Web is a widely accepted system for sharing information. Therefore, governmental as well as non-governmental organizations use it to make available and to disseminate environmental information. But there are more than eight billion Web pages in existence and the number is increasing. Due to this fact locating environmental information on the World Wide Web is a critical function....
متن کاملDeveloping a BIM-based Spatial Ontology for Semantic Querying of 3D Property Information
With the growing dominance of complex and multi-level urban structures, current cadastral systems, which are often developed based on 2D representations, are not capable of providing unambiguous spatial information about urban properties. Therefore, the concept of 3D cadastre is proposed to support 3D digital representation of land and properties and facilitate the communication of legal owners...
متن کاملA Model of a Generic Natural Language Interface for Querying Database
Extracting information from database is typically done by using a structured language such as SQL (Structured Query Language). But non expert users can’t use this later. Wherefore using Natural Language (NL) for communicating with database can be a powerful tool. But without any help, computers can’t understand this language; that is why it is essential to develop an interface able to translate...
متن کاملSolving the TTC 2013 Flowgraphs Case with FunnyQT
FunnyQT1 is a new model querying and transformation approach which is implemented as an API for the functional, JVM-based Lisp-dialect Clojure. It provides several sub-APIs for implementing different kinds of queries and transformations. For example, there is a model-to-model transformation API, and there is an in-place transformation API for writing programmed graph transformations. FunnyQT cu...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2017